# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-wiki
pkgver=20.02_git20200415
pkgrel=0
_commit="c1504a9264e7a329934659b68096031a8a63a35d"
pkgdesc="Query Wikipedia articles"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-wikipedia"
source="https://github.com/mycroftai/skill-wiki/archive/$_commit/skills-wiki-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-wiki-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/mycroft-wiki.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/mycroft-wiki.mycroftai/
}

sha512sums="549c1673962c529d1768ce7d37546865a543678b3869d46f5e8e89cf1c88d1f1db2f291f6ff4bb3fb6ef6ddba4eee75d20e78f83a43e4f54cccfc07b71f1d959  skills-wiki-c1504a9264e7a329934659b68096031a8a63a35d.tar.gz"
